/*
 * Copyright (c) 2015-2018 Sfkj Science And Technology Co.,Ltd.
 * All Rights Reserved.
 * This software is the confidential and proprietary information of
 * Sfkj Science And Technology Co.,Ltd.
 * ("Confidential Information").You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Sfkj.
 */
package com.sfkj.walk.command.activity;

import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.axonframework.commandhandling.model.EntityId;
import org.axonframework.spring.stereotype.Aggregate;

@NoArgsConstructor(access = AccessLevel.PUBLIC)
@Getter
@Aggregate
@EqualsAndHashCode(of = "memberId")
public class ActivityMember {

    @EntityId
    private String memberId;

    public ActivityMember(String memberId) {
        this.memberId = memberId;
    }

}